

#if !defined(_PLAYERDATA_H)
#define _PLAYERDATA_H

#define DEFAULT_PLAYER_LIVES 3

#include <string>
using namespace std;

class PlayerData {
private:
	
	static PlayerData* singleton; 
	PlayerData();

	int livesQuantity;
	int level;
	int status;
	int score;
	int highScore;
public:
	
	virtual ~PlayerData();

	static PlayerData* getInstance();

	int getLivesQuantity();
	void setLivesQuantity(int lq);
	
	int getScore();
	void setScore(int hs);

	int getHighScore();
	void setHighScore(int hs);

	void addScore(int score);
	
	void addLive();
	void removeLive();

};

#endif  //_PLAYERDATA_H
